home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 022a / foods503.zip / UTILITY < prev    next >
Text File  |  1991-01-15  |  11KB  |  224 lines

  1. 13          
  2.                            UTILITY INFORMATION
  3.                            -------------------     
  4.                        
  5.   This Pantry file gives information on the Application Keys which provide
  6.   useful utilities to use with Pantry files.  Press F1 and then 'a' to
  7.   see a list of Application Keys.  Use 'Esc' to go back to the Pantry
  8.   file without performing the function.
  9.  
  10.   The file also includes information at the end as to how to change
  11.   headings for some of the Pantry files which allow changes.  
  12.  
  13.   Alt-F1 - Find Patterns
  14.  
  15.   This function is unique to the program, and you will not see it
  16.   anywhere else.  It helps you find and create your own patterns from
  17.   you own input.  For example, after you enter sufficient information
  18.   in your recipes, you specify a keyword for the desired food, ingredient,
  19.   date, etc. and the pattern creator here gives you all references
  20.   to your keyword.  You perform the function again and again to find 
  21.   patterns within patterns!
  22.  
  23.   This function finds patterns in a file and puts them into a file called
  24.   'pattern' for you to subsequently use.  For example, you specify that
  25.   you want all references to 'corn' in the file you are working on.  Enter
  26.   'corn' as the first keyword.  Then the function asks how many characters
  27.   after the first character of the keyword you desire to capture.  You must 
  28.   enter an integer less than 15,000 (no commas).  Then the function asks 
  29.   how many characters to include before the keyword and again you must enter 
  30.   an integer less than 15000.  The function then finds the keyword and 
  31.   includes in the 'pattern' file characters before the keyword and after the 
  32.   keyword per your specifications.  Keywords are not relisted when they fall 
  33.   in the range you specify.  This allows you to get all the nonrepetitive
  34.   information about the keyword you seek.
  35.  
  36.   The function gets all references and following text for 'corn' in
  37.   the file you have up.  The search is exact; if you specify 'corn', you do
  38.   not get 'Corn'.  To get both references, do the function twice.  The 
  39.   function appends data at the end of the existing 'pattern' file until you
  40.   rename or delete the file 'pattern' to start over.  You may also perform
  41.   the function more than once with the same (or different) keyword using 
  42.   same or different files.  The function appends the patterns any number of 
  43.   times so long as the total file length remains under 64K.
  44.   
  45.   You can use the function with any ASCII text file to pull off recipes
  46.   you want as long as the source file is under 64K long.  You can also
  47.   use the function to cull recipes such as from Compuserve for ones you 
  48.   want.
  49.  
  50.   You may want to edit the pattern file to take out lines captured in
  51.   excess of what you desire. (Ctl Y or F7 keys make this easy)
  52.   
  53.   You rename the file 'pattern' to save the data and start over (do not use
  54.   an extension if you wish to work with it in the file section, e.g.
  55.   "rename pattern. pattern1." in DOS).  Within the program you select the 
  56.   'pattern' file from the Pantry directory; then press F8 and enter 
  57.   'pattern1' (or any name you want with no extension); then press F9 
  58.   specifying the file 'pattern' to copy in selected parts or all of the 
  59.   pattern file; then press F10 to save the file 'pattern1'.  Then
  60.   use Alt F6 to delete the file pattern to start creating more new
  61.   patterns.
  62.  
  63.   The file is put in the current directory as specified by you. If
  64.   you have your files in a different directory, then you must copy the
  65.   pattern file to your file directory in order to view and select it
  66.   as you would other files.  You may wish to use the Alt-F9 utility to
  67.   do this.
  68.  
  69.   Delete the file 'pattern' (Use Alt-F6 utility) to just start over.
  70.   (Although Alt-F6 will not work from the file you are currently in
  71.   to delete this same file you are in).
  72.   
  73.  
  74.   Alt-F2 - Transfer Alt-P Log - This function renames the log file created
  75.   when you turn on the Alt-P log file function and capture information 
  76.   from the foods generator in section 3 (or elsewhere).  Toggle the Alt-P 
  77.   function off before using.  The log file (prolog.log) is renamed to any 
  78.   name you specify; use a name with no extension to have it show up 
  79.   automatically in the Pantry directory window.  Use a name of comboXX to
  80.   have correct headings match the numbers from section 3 for fiber, 
  81.   cholesterol, etc. (XX is any two numbers you give to retain many 
  82.   different copies of your runs).  Alt-F2s clears prolog.log so that 
  83.   you can reuse it.  You cannot let the prolog.log file get larger than
  84.   64K in order to view it in the Pantry.
  85.  
  86.  
  87.   Alt-F4 - Allows you to change to any directory or drive.  
  88.   
  89.   You do not get as much help for error messages since the help files are
  90.   are in the main directory.  If you use another directory a lot, copy the 
  91.   files food.hlp, prolog.err, and any graphics drivers to the other 
  92.   directory.
  93.  
  94.  
  95.   Alt-F6 - Deletes a file (but not the same file you currently have up).
  96.   
  97.   You may use a fully qualified name.  If you do not specify the name
  98.   correctly, then the process just returns and no file is deleted.
  99.   
  100.  
  101.   Alt-F7 - Delete all '.bak' files
  102.   
  103.   Whenever you use F8 and F10 to save a file using the auxiliary editor, 
  104.   a '.bak' file is created to store the copy of the file before any changes 
  105.   were made as an added backup protection.  These files may accumulate and 
  106.   take up disk space, so we have this function which deletes ALL '.bak' files
  107.   in the directory you specify.  If you specify no directory, then all
  108.   '.bak' files in the current directory are deleted.
  109.   
  110.   Many other applications create '.bak' files so you may use this function
  111.   for these other applications as well if desired.
  112.  
  113.  
  114.   Alt-F9 - Copy one or all files (answer 1 to copy a single file; 2 to
  115.   copy all files in a directory (the process copies files with no extension
  116.   since these system files change as you add data to them).
  117.   
  118.   This function allows you to easily backup or restore all your files so 
  119.   you have added protection.  Also you can share you files with other 
  120.   Eatwell enthusiasts.
  121.   
  122.   Alt-F9 selection 2:
  123.   The function copies all files (files with no extensions) in the directory
  124.   or disk you specify to the directory and/or disk you specify.
  125.   
  126.   E.g. 'c:\food' for the from directory and 'a:' for the to directory copies
  127.   your files to a disk in drive 'a'  (do not enter quotes).
  128.   
  129.   If the files do not fit on one disk, the process copies all the files it
  130.   can and then ends.  You must then use the 'Alt-B' function to copy those
  131.   files for which room did not exist to another disk where room exists.
  132.   You get an error 1112 'Cannot write correct number of bytes to file'
  133.   which is caused by a full disk. If a file is created with 0 bytes because
  134.   of a full disk, then you must delete it using Alt F6 since the file will
  135.   not work correctly with the program.  Your original file data remains 
  136.   safe, and you must use Alt B to copy it to a disk with enough room.
  137.   
  138.   Copy selected files (Alt F9 selection 1):
  139.   Copies one file you specify at a time from a disk or directory you
  140.   specify to a disk or directory you specify.
  141.   
  142.   E.g. Copy from 'C:\food' brings up Pantry files (files with no extension) 
  143.   in directory 'C:\food'.  Use arrow keys to move to the file you want to 
  144.   copy and press return to copy it to the disk and/or directory you specify.
  145.   Use the F4 key to change the file mask; for example, to '*.txt' to copy
  146.   a library file.  
  147.   
  148.   Enter the disk and/or directory you wish to copy from and to and press 
  149.   return.  Pressing return with no directory copies files from or to the
  150.   current directory. 
  151.   
  152.   Also if you just want to view the files in a directory, just press return
  153.   with no directory or disk when asked to specify the 'to' and 'from' 
  154.   directory.  After finishing viewing, then press 'Esc' to return to your
  155.   Pantry file without copying any files.  You may use F4 once the files
  156.   are displayed and change the mask as desired; for example changing to
  157.   '*.*' allows you to see all files.
  158.  
  159.   Alt-B - Show Date, Time, Disk Space, Free Memory
  160.   
  161.   Shows space available on the disk.
  162.   
  163.   Shows Free Memory:
  164.   This comes in handy if you have large files and/or have lower computer 
  165.   memory (possibly from memory resident programs). Each time you bring 
  166.   in a file you use added memory.  While you use a file, if you use the 
  167.   auxiliary file (F8) with a file of 64K in length you need 64K more 
  168.   memory.  While using F8, if you use the F9 key to view another file 
  169.   which is 64K in length, the program requires an added 64K.  The total
  170.   added in this situation could amount to 128K additional required.  
  171.  
  172.   Alt-D - Accesses DOS
  173.   
  174.   Puts you in the Dos interactive mode where you can run other programs.
  175.   This process requires that the command interpreter (Dos: Command.com;
  176.   OS/2: Cmd.exe) is accessible.  In DOS if you install any memory resident
  177.   programs while using Alt-D, you probably will NOT be able to return to
  178.   the Eatwell system successfully since the memory resident program
  179.   may take up required memory.  In OS/2 you are probably ok doing just
  180.   about anything.
  181.   
  182.   If you change the directory while in DOS (or OS/2), that directory remains
  183.   in effect when you return to the program.
  184.  
  185.  
  186.   Change Headings - Use F8 key and load file 'headcfg.dat'.  Use the 
  187.                     Ctl F10 key to enlarge the Auxiliary window.
  188.   
  189.    You may change any of the headings subject to the following rules.
  190.    
  191.     IMPORTANT:  The heading line and any blank spaces must NOT EXTEND PAST
  192.                 column 78 or else the program reads data past 78 as an
  193.                 extra line and part of the heading may be missing when you
  194.                 run the program.
  195.  
  196.  
  197.     The headings come up when you restart the program from DOS or after
  198.     running the color selection procedure in Section 1.
  199.     
  200.     Change headings as you desire; each file has three lines and you must
  201.     leave them in the same order as above.  The Recipe file uses the first
  202.     three lines, the Record file uses the second three, the Combo file uses
  203.     the third three, and the Extra log uses lines 10, 11, and 12.
  204.     
  205.     Only the above four file names have headings to them.  Other files 
  206.     do not have headings.  You can have more files with headings by
  207.     adding a file (see below to see how to add a Pantry file) with
  208.     the name record1, record2, record3, etc.  Similarly for the other
  209.     heading files; Combo1, Combo2, etc.; recipeA, recipeB, etc; Extra1,
  210.     Extra2, etc.  These added files must not have an extension as the
  211.     regular files do.  All the files in the family, for example "record",
  212.     have the same headings.  
  213.  
  214.     To create another new file -
  215.     
  216.     Use the F8 from within any Pantry file:
  217.     Load the file name, for example, 'record2'.  Answer Yes to create the 
  218.     file new. Use the Ctl F10 key to enlarge the Auxiliary Editor window if 
  219.     desired. You must enter a few characters at least to establish the file 
  220.     and press F10 to save it.
  221.     
  222.     A command to establish another file from Dos is:
  223.     copy    c:\eatwell\record  c:\eatwell\record2.  
  224.